<link href="../addons/jy_newcar/custom/templates/mobile/style.css?v=201905251730" rel="stylesheet">
<style>
.fui-tab a{
    color: #eee;
}
.fui-tab:after {
    height: 0;
    background: none;
}
.fui-tab.fui-tab-success a.active {
    color: #fff;
	font-weight:bold;
}
.banyuan{
	padding:0.5rem;
	height: 7rem;
	border-radius: 7rem 7rem 0 0;
	border: 4px solid #f60;
}
</style>
<div class="fui-page fui-page-current page-commission-down">
	<div ng-include="sys_html('_goback')"></div>
    <div class="fui-content">
	<div style="background: {{main.syscolor||'#05c175'}};padding:0.5rem;margin-top:0;padding-bottom:1.6rem;height:9rem">
		<div class="fui-tab fui-tab-success" style="background:none">
			<a class="active">推广卖车组详情</a>
		</div>
		<div class="fui-cellone" style="margin:0;padding:0.3rem;background:{{main.syscolor||'#05c175'}}">
			<div class="fui-cellone-text" style="font-size:0.65rem;text-align:left;color:#fff">
				<div>推广组：{{pagedata.tuilog.sn}}</div>
				<div>开始时间：{{pagedata.tuilog.createtime}}</div>
				<div>剩余时间：{{pagedata.tuilog.lastqi||0}}个月</div>
				<div>进度：{{pagedata.tuilog.statustitle||'无'}}</div>
			</div>
			<div class="fui-cellone-remark noremark">
				<div ng-click="access_json('jy_newcar/mai.yufee//tuilogid='+pagedata.tuilog.id)" class="label label-success" style="font-size:0.75rem;background:#fff;color:{{main.syscolor||'#05c175'}}">分期奖励</div>
				<div ng-click="access_json('jy_newcar/mai.tuifee//tuilogid='+pagedata.tuilog.id)" class="label label-success" style="font-size:0.75rem;background:#fff;color:{{main.syscolor||'#05c175'}}">推广奖励</div>
			</div>
		</div>
	</div>
	<div class="jy-content">
	<div style="padding:0.5rem;margin-top:-2.3rem;background:#fff">
		<div class="fui-cell-group" ng-repeat="item in pagedata.list" style="padding:0;border: 1px solid {{main.syscolor||'#05c175'}};">
			<div class="fui-cell" style="margin:0;padding:0.3rem;background:{{main.syscolor||'#05c175'}}">
				<div class="fui-cell-text" style="font-size:0.65rem;text-align:left;color:#fff">
					<span>购车人：{{item.member.mobile||item.member.nickname}} ({{item.mid}})</span>
				</div>
			</div>
			<div class="fui-cell" style="margin:0;padding:0.3rem;">
				<div class="fui-cell-text" style="font-size:0.65rem;text-align:left;">
					<span>{{item.ordersn}} </span>
				</div>
				<div class="fui-cell-remark noremark" style="font-size:0.65rem">
					{{item.statustitle||'进行中'}}
				</div>
			</div>
			<div ng-repeat="g in item.goods" class="fui-cell" style="height:auto">
				<div class="fui-cell-label">
					<img style="width:3rem;height:2.6rem" ng-src="{{tomedia(g.image) || '../core/resource/images/nopic.jpg'}}">
				</div>
				<div class="fui-cell-text" style="padding-right:0.5rem">
					<div class="row" style="font-size:0.65rem;">
						{{g.title}}
					</div>
				</div>
				<div class="fui-cell-remark noremark" style="min-width:3rem">
					<div><span class="marketprice syscolorred">指导价￥{{g.price}}</span></div>
					<div><span class="marketprice syscolorred">车价￥{{item.carprice}}</span></div>
				</div>
			</div>
			<div class="fui-cell" style="margin:0;padding:0.3rem;">
				<div class="fui-cell-text" style="font-size:0.65rem;">
					<span class="gray">{{item.createtime}} </span>
				</div>
				<div class="fui-cell-remark noremark" style="font-size:0.65rem">
					共奖励：￥{{item.allfee||'0.00'}}元
				</div>
			</div>
        </div>
		<div class='infinite-loading' style="display:none" id="loading_show"><span class='fui-preloader'></span><span class='text'> 正在加载...</span></div>
		<div ng-if="pagedata.list.length==0" class='content-empty' >
			<i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i>
			<br/>
			<p style="color: #999;font-size: .75rem">暂时没有任何数据</p>
		</div>
	</div>
	</div>
	<div ng-include="sys_html('common/_copyright',true)"></div>
    </div>
</div>
<!--<div ng-include="sys_html('mai/_footer')"></div>-->
<script>
scope.tool.get_list('jy_newcar/mai.tuiitem/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_newcar/mai.tuiitem/list/');
}
</script>

